package com.cn.wanix.service.impl;

import com.cn.wanix.dao.CuisineDao;
import com.cn.wanix.dao.impl.CuisineImpl;
import com.cn.wanix.model.CuisineModel;
import com.cn.wanix.model.ResultModel;
import com.cn.wanix.service.CuisineService;

import java.util.List;

public class CuisineServiceImpl implements CuisineService {
    private CuisineDao cuisineDao = new CuisineImpl();

    @Override
    public ResultModel add(CuisineModel cuisineModel) {
        return null;
    }

    @Override
    public ResultModel update(CuisineModel cuisineModel) {
        return null;
    }

    @Override
    public ResultModel delete(CuisineModel cuisineModel) {
        return null;
    }

    @Override
    public ResultModel findAll(CuisineModel cuisineModel) {

        return new ResultModel(cuisineDao.findAll(cuisineModel));
    }

    @Override
    public ResultModel<CuisineModel> findByID(CuisineModel cuisineModel) {
        return null;
    }

    @Override
    public ResultModel getCount(CuisineModel cuisineModel) {
        return null;
    }


}
